﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EmbedThreads.ascx.cs"
    Inherits="GUI.Controls.News.EmbedThreads" %>
<h2 class="hnz-header lh50">
    Dòng sự kiện</h2>
<div class="clearfix embed-thread">
    <div class="fl w320">
        <asp:PlaceHolder runat="server" ID="PlaceHolder1"></asp:PlaceHolder>
    </div>
    <div class="fr w320">
        <asp:PlaceHolder runat="server" ID="PlaceHolder2"></asp:PlaceHolder>
    </div>
</div>
<script type="text/javascript">
    onLoad(function () {
        $('.embed-thread').each(function () {
            var boxes = $(this).find(".nz-body");
            if (boxes && boxes.length > 0) {
                var maxHeight = 0;
                boxes.each(function () {
                    if (maxHeight < $(this).height()) {
                        maxHeight = $(this).height();
                    }
                });
                boxes.height(maxHeight);
            }
        });
    }, "EmbedThread.ascx");
</script>